home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / Level 0 Macintosh 29Sep94 / FloatingPoint.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  1.5 KB  |  60 lines  |  [TEXT/KAHL]

  1. /* FloatingPoint.h */
  2.  
  3. #ifndef Included_FloatingPoint_h
  4. #define Included_FloatingPoint_h
  5.  
  6. /* FloatingPoint module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* SANE */
  12.  
  13. long double                XGETPI(void);
  14.  
  15. long double                XATAN(long double X);
  16. long double                XCOS(long double X);
  17. long double                XEXP(long double X);
  18. long double                XFABS(long double X);
  19. long double                XLN(long double X);
  20. long double                XSIN(long double X);
  21. long double                XSQRT(long double X);
  22. long double                XTAN(long double X);
  23. long double                XPOWER(long double X, long double Y);
  24. long double                XACOS(long double X);
  25. long double                XASIN(long double X);
  26.  
  27. MyBoolean                    ISNAN(long double X);
  28.  
  29.  
  30. #define DGETPI() ((double)XGETPI())
  31.  
  32. #define DATAN(x) ((double)XATAN((x)))
  33. #define DCOS(x) ((double)XCOS((x)))
  34. #define DEXP(x) ((double)XEXP((x)))
  35. #define DFABS(x) ((double)XFABS((x)))
  36. #define DLN(x) ((double)XLN((x)))
  37. #define DSIN(x) ((double)XSIN((x)))
  38. #define DSQRT(x) ((double)XSQRT((x)))
  39. #define DTAN(x) ((double)XTAN((x)))
  40. #define DPOWER(x,y) ((double)XPOWER((x),(y)))
  41. #define DACOS(x) ((double)XACOS((x)))
  42. #define DASIN(x) ((double)XASIN((x)))
  43.  
  44.  
  45. #define FGETPI() ((float)XGETPI())
  46.  
  47. #define FATAN(x) ((float)XATAN((x)))
  48. #define FCOS(x) ((float)XCOS((x)))
  49. #define FEXP(x) ((float)XEXP((x)))
  50. #define FFABS(x) ((float)XFABS((x)))
  51. #define FLN(x) ((float)XLN((x)))
  52. #define FSIN(x) ((float)XSIN((x)))
  53. #define FSQRT(x) ((float)XSQRT((x)))
  54. #define FTAN(x) ((float)XTAN((x)))
  55. #define FPOWER(x,y) ((float)XPOWER((x),(y)))
  56. #define FACOS(x) ((float)XACOS((x)))
  57. #define FASIN(x) ((float)XASIN((x)))
  58.  
  59. #endif
  60.